<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>九九乘法表</title>
    <script src="https://cdn.jsdelivr.net/npm/vue@2.6.12"></script>
    <style>
        body{
            margin: 0px !important;
            background: #ddd;
        }
        h1{
            text-align: center;
            text-shadow: 1px 2px 3px rgba(300, 10, 10, .5);
        }
        .nine-box{
            width: 100vw;
        }
        .nine-box>.nine-item{
            display: inline-block;
            width: 10vw;
            text-indent: 10px;
            padding: 8px 0px;
            border:#ddd 1px solid;
            font-size: 22px;
            color:#F0F0F0;
            font-weight: 500;
            background: linear-gradient(315deg,orange,#F00000);
        }
    </style>
</head>

<body>
    <div id="app">
        <h1>九九乘法表</h1>
        <div class="nine-box" v-for="item in 9" :key="item">
            <span class="nine-item" v-for="opt in item" :key="opt">
                {{`${opt}x${item}=${item*opt}`}}
            </span>
        </div>
    </div>
    <script>
        new Vue({
            el:"#app"
        })
    </script>
</body>

</html>